﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using DBSchemaViewer.BackEnd.Entities;
using DBSchemaViewer.BackEnd.Entities.MetaEntities;


namespace DBSchemaViewer.Business.Controller.IViews
{
    public interface IViewMainPage : IViewBase
    {
        /// <summary>
        /// This one will be called before creating or loading a new document
        /// </summary>
                
        void RefreshMainCanvas();
        void UpdateCanvasSize(Size newSize);

        void CreateTableControl(EntityTable newTable);
        void UpdateTableEntityOnControlButNotUI(EntityTable modifiedTable);

        void CreateRelationControl(EntityRelation newRelation);
        void UpdateRelationControlCanvasPosition(EntityRelation relation);

        
        void WipeAllTheDiagramUIControls();

        void ResetSelectedControl();

        void RemoveRelationControl(int relationInternalID);

        /*
        

        

        void UpdateRelationControlCanvasPosition(EntityRelation relation);

        

        void UpdateTableControlLayout(EntityTable modifiedEntityTable);

        void UpdateRelationLayout(EntityRelation relation);

        
         */ 
    }
}
